/* Define to prevent recursive inclusion -------------------------------------*/
#ifndef __SYSTEM_FLASH_H
#define __SYSTEM_FLASH_H




void XSPI_FlashReset(unsigned int rst_dly);
void XIP_Cfg(void);



void FLASH_XIPExit_Rst(unsigned int rst_dly);

void FLASH_DpPowerDown(void);
unsigned char FLASH_ReleaseDpPowerDown(void);

unsigned int Flash_SectroErase (unsigned int adr) ;
unsigned int Flash_Program (unsigned int adr, unsigned int len, unsigned char *buf);
unsigned int Flash_SequentialRead(unsigned int adr,unsigned int len,unsigned char *buf);



#endif /* __SYSTEM_FLASH_H */
/************************ (C) COPYRIGHT GT *****END OF FILE*************/
